<li>
	<span class="thumbnail">
		<img src="{{ asset('bundles/imtaccount/images/gmail.jpg') }}" alt="">
	</span>
	<span class="info">
		{{ entity.title }} 
		<span class="order">Contacts: {{ entity.contacts|length - 1 }}</span>
		<span class="order">Activé: {% if entity.active %}Oui{% else %}Non{% endif %}</span>
		<span class="order">Etat: {% if entity.accessToken and entity.activeSynch %}<span class="text-success">Synchronisé</span>{% else %}<span class="text-error">Non synchronisé</span>{% endif %}</span>
	</span>
	<div class="actions" style="margin-right:20px;">
		<ul>
			<li><a href="{{ path('account_accountgmail_edit', { 'id': entity.id }) }}" title="Modifier" rel="tooltip"><i class="icon-pencil"></i></a></li>
			<li>
				<a href="#" onclick="$(this).children('form').submit(); return false;" title="Supprimer" rel="tooltip"><i class="icon-remove"></i>
			        <form action="{{ path('account_accountgmail_delete', { 'id': entity.id }) }}" method="post" class="hide">
			            {{ form_widget(delete_form) }}
			        </form>
		        </a>
			</li>
		</ul>
	</div>
</li>
